import { lookNuke, lookPvp, lookRoomObject, lookRoomOwner } from './room'
import { lookUser } from './user'
import { lookOrder } from './market'
import { lookWorldRank } from './leaderboard'
import { getEpidemicInfoOnArea, getHelp } from './other'

const commandMap = {
    // 房间相关
    pvp: lookPvp,
    nuke: lookNuke,
    object: lookRoomObject,
    owner: lookRoomOwner,
    // 用户相关
    user: lookUser,
    // 市场相关
    order: lookOrder,
    // 排名
    rank: lookWorldRank,
    // 其他
    help: getHelp,
    yiqing: getEpidemicInfoOnArea,
}

export type Command = keyof typeof commandMap

export default commandMap
